package mylibrary.thread.produce_consume.another;

public class Waiter implements Runnable {

	private Restaurant res;
	public Waiter(Restaurant res) {
		this.res = res;
	}
	
	public void run() {
		for(int i=0; i<50; i++) {
			res.sendMeal();	
		}
	}
}
